package com.hou;

import feign.Contract;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 自定义feign配置,此类不能被springboot扫描
 */
@Configuration
public class MyFeignConfigurationUrl {
    /**
     * 配置日志输出,哪些内容输出,必须是指定的输出等级才行
     * @return
     */
    @Bean
    public Logger.Level feignLogging() {
        return Logger.Level.FULL;
    }
}
